﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Entity
{
    public class OrderSalesExWarehouse
    {

        /// <summary>
        /// id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 销售出库编号 例如：XC-2024-04-25-001
        /// </summary>
        public string Number { get; set; }

        /// <summary>
        /// 销售订单ID 可以一键选择已审核的 销售订单
        /// </summary>
        public long? OrderSalesId { get; set; }

        /// <summary>
        /// 客户编号
        /// </summary>
        public string CustomerNumber { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }


        /// <summary>
        /// 联系人
        /// </summary>
        public string CustomerContact { get; set; }

        /// <summary>
        /// 联系人电话
        /// </summary>
        public string CustomerContactTel { get; set; }

        /// <summary>
        /// 出库日期
        /// </summary>
        public DateTime? DeliveryDate { get; set; }

        /// <summary>
        /// 交货地址
        /// </summary>
        public string DeliveryLocation { get; set; }

        /// <summary>
        /// 收款方式
        /// </summary>
        public string PaymentCategory { get; set; }

        /// <summary>
        /// 收款账户
        /// </summary>
        public string PaymentAccount { get; set; }

        /// <summary>
        /// 收款日期
        /// </summary>
        public DateTime? PaymentTime { get; set; }

        /// <summary>
        /// 运输方式 公路运输、铁路运输、水路运输、航空运输
        /// </summary>
        public string Transfer { get; set; }

        /// <summary>
        /// 出货仓
        /// </summary>
        public long WarehouseId { get; set; }

        /// <summary>
        /// 出货仓
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 总价
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 总数量
        /// </summary>
        public float Count { get; set; }

        /// <summary>
        /// 优惠
        /// </summary>
        public decimal DisCount { get; set; }

        /// <summary>
        /// 状态 0待审核 1已审核 （2已退货：已退货由销售退货选择单据后更改，而不是提供按钮）显示按钮：审核、反审
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; }
    }
}
